from business import Business


def get_cameras(business: Business):
    return [{
                'id': c.id,
                'name': c.name
            } for c in business.cameras]
